import { DynamicComment } from '@/entity/dynamic-comment.entity';
import { DynamicReply } from '@/entity/dynamic-reply.entity';
import { Dynamic } from '@/entity/dynamic.entity';
import { User } from '@/entity/user.entity';
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { CommentController } from './comment.controller';
import { CommentService } from './comment.service';

@Module({
  imports: [
    TypeOrmModule.forFeature([DynamicComment, DynamicReply, User, Dynamic]),
  ],
  controllers: [CommentController],
  providers: [CommentService],
})
export class CommentModule {}
